package com.pureut.production.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.production.domain.RollPackingHistory;
import com.pureut.production.domain.dto.RollPackingHistoryDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RollPackingHistoryMapper extends BaseMapper<RollPackingHistory> {


    /**
     * 根据小卷号码查询小卷历史信息
     * @param smallVolumeNumber
     * @return
     */
    RollPackingHistoryDto selectRollPackingHistoryInfo(String smallVolumeNumber);

    /**
     * 根据母卷号码查询小卷历史信息
     * @param masterVolumeNumber
     * @return
     */
    List<RollPackingHistoryDto> selectRollPackingHistoryMasterVolumeNumber(String masterVolumeNumber);

}
